package com.zc

class CaseController {

    def index() {
        def max=params.max?params.int('max'):10
        def offset=params.offset?params.long('offset'):0
        def instances = Case.list(max: max,offset: offset)
        [instances:instances]
    }

    def create(){}
}
